<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>凉山州2018年中考成绩查询</title>
<link rel="stylesheet" href="css/newStyle.css"
	th:href="@{css/newStyle.css}">
<link rel="stylesheet" href="css/print.css">
</head>
<body>
	<div class="mainBox">
		<div class="mainBox_inner">
			<h1>凉山州2018年中考成绩查询</h1>
			<div class="tableOutBox">
				<div th:object="${student}" th:value="${student.bmh}"
					class="tableSearch clearfix">
					<form id="form1" action="" method="post">
						<div class="fr exportBtnBox">
							<!-- <button class="printIt" onclick="printIt()">打印成绩</button> -->
							<button id="loginOut" class="loginOut" onclick="is_submit()">安全退出</button>
						</div>
					</form>
					<div id="cjt">
						<table class="tablebox gardetable" border="1" cellpadding="0"
							cellspacing="0" align="left" th:object="${score}">
							<thead>
								<tr>
									<td>姓名</td>
									<td>报名号</td>
									<td>语文A</td>
									<td>语文B</td>
									<td>数学A</td>
									<td>数学B</td>
									<td>英语A</td>
									<td>英语B</td>
									<td>物理</td>
									<td>化学</td>
									<td>思想品德</td>
									<td>历史</td>
									<td>生物</td>
									<td>地理</td>
									<td>加试成绩</td>
									<td>实验</td>
									<td>体育</td>
									<td>中职总分</td>
									<td>高中总分</td>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td th:text="${student.xm}">小雨淅淅</td>
									<td th:text="${student.bmh}">155566622221</td>
									<td th:text="${score.ywa}">-</td>
									<td th:text="${score.ywb}">-</td>
									<td th:text="${score.sxa}">-</td>
									<td th:text="${score.sxb}">-</td>
<!-- 									<td th:text="${score.wy}">-</td> -->
									<td th:text="${score.wya}">-</td>
									<td th:text="${score.wyb}">-</td>
									<td th:text="${score.wl}">-</td>
									<td th:text="${score.hx}">-</td>
									<td th:text="${score.zz}">-</td>
									<td th:text="${score.ls}">-</td>
									<td th:text="${score.sw}">-</td>
									<td th:text="${score.dl}">-</td>
									<td th:text="${score.jscj}">-</td>
									<td th:text="${score.sy}">-</td>
									<td th:text="${score.ty}">-</td>
									<td th:text="${score.zfzz}">-</td>
									<td th:text="${score.zfgz}">-</td>
								</tr>
							</tbody>
						</table>
					</div>
					<div class="fr exportBtnBox">
						<button class="printIt" onclick="printIt()">打印成绩</button>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/gVerify.js"></script>
<script src="js/jquery.jqprint-0.3.js"></script>
<script src="js/commen.js"></script>
<script src="http://www.jq22.com/jquery/jquery-migrate-1.2.1.min.js"></script>
<script>
	function is_submit() {
		var form1 = $("#loginOut");
		form1.action = "loginOut";
		$("#form1").attr("action", form1.action);
		form1.submit();
	}

	function printIt() {
		$("#cjt").jqprint();
	};
</script>
</html>